#!/bin/sh
sed -i "" -e 's/ionic\.bundle\.js/ionic\.bundle\.min\.js/' www/index.html
sed -i "" -e 's|cordova\.js|https:\/\/res\.wx\.qq\.com\/open\/js\/jweixin-1\.0\.0\.js|' www/index.html
# rsync -avz --exclude=cordova.js -e 'ssh -p12223' platforms/android/www/ root@www.juncaijinfu.com:/home/deploy/wechat_production
rsync -avz --exclude=cordova.js -e 'ssh -p12223' www/ root@www.juncaijinfu.com:/home/deploy/www_production/mobile
